export default {
  common: {
    success: '操作成功',
    error: '操作失败',
    confirm: '确认',
    cancel: '取消',
    search: '搜索',
    reset: '重置',
    add: '添加',
    edit: '编辑',
    delete: '删除',
    detail: '详情',
    save: '保存',
    back: '返回'
  },
  login: {
    title: '货物追踪系统',
    username: '用户名',
    password: '密码',
    login: '登录',
    rememberMe: '记住我',
    usernameRequired: '请输入用户名',
    passwordRequired: '请输入密码',
    loginSuccess: '登录成功'
  },
  menu: {
    dashboard: '首页',
    shipment: '货物追踪',
    shipmentManagement: '货物管理',
    shipmentList: '货物列表',
    shipmentDetail: '货物详情',
    shipmentRoute: '查看路线',
    system: '系统管理',
    user: '用户管理',
    apiConfig: '外部API配置',
    sysConfig: '基础配置'
  },
  dashboard: {
    overview: '系统概览',
    refresh: '刷新数据',
    totalShipments: '货物总数',
    activeShipments: '追踪中',
    totalUsers: '用户数',
    recentShipments: '最近追踪记录',
    viewAll: '查看全部'
  },
  shipment: {
    number: '单号',
    pickupWarehouse: '取货仓库',
    deliveryWarehouse: '卸货仓库',
    macId: '设备号',
    routeData: '路线数据',
    createTime: '创建时间',
    updateTime: '更新时间',
    version: '版本',
    createBy: '创建人',
    updateBy: '更新人',
    actions: '操作',
    viewRoute: '查看路线',
    newShipment: '新增货物',
    editShipment: '编辑货物',
    deleteConfirm: '确定要删除该货物记录吗？',
    deleteSuccess: '删除成功',
    saveSuccess: '保存成功',
    formRules: {
      numberRequired: '请输入单号',
      pickupWarehouseRequired: '请输入取货仓库',
      deliveryWarehouseRequired: '请输入卸货仓库',
      macIdRequired: '请输入设备号'
    },
    route: {
      title: '货物追踪路线',
      querySection: '查询条件',
      startTime: '开始时间',
      endTime: '结束时间',
      queryTrack: '查询轨迹',
      getCurrentLocation: '获取当前位置',
      testDevice: '测试设备',
      refresh: '刷新数据',
      currentLocationInfo: '当前位置信息',
      deviceName: '设备名称',
      deviceId: '设备编号',
      coordinates: '经纬度',
      speed: '速度',
      locationType: '定位类型',
      locationTime: '定位时间',
      startPoint: '起点',
      endPoint: '终点',
      pickupWarehouse: '取货仓库',
      deliveryWarehouse: '卸货仓库',
      time: '时间',
      altitude: '海拔',
      mileage: '里程',
      noRouteData: '暂无路线数据，请选择时间范围查询GPS轨迹',
      selectTimeRange: '请选择开始时间和结束时间',
      startTimeMustBeforeEnd: '开始时间必须小于结束时间',
      getTrackSuccess: '成功获取 {count} 个轨迹点',
      noTrackData: '该时间段内没有轨迹数据',
      getCurrentLocationSuccess: '获取当前位置成功',
      noCurrentLocationData: '设备当前无位置数据',
      deviceTestSuccess: '设备连接成功！',
      deviceTestResult: '设备测试结果',
      plateNumber: '车牌号',
      onlineStatus: '在线状态',
      currentSpeed: '当前速度',
      deviceType: '设备类型',
      expireDate: '到期时间',
      online: '在线',
      offline: '离线',
      position: '位置'
    }
  },
  user: {
    username: '用户名',
    realName: '真实姓名',
    email: '邮箱',
    role: '角色',
    status: '状态',
    createTime: '创建时间',
    updateTime: '更新时间',
    roles: {
      admin: '管理员',
      user: '普通用户'
    },
    statusOptions: {
      enabled: '启用',
      disabled: '禁用'
    },
    newUser: '新增用户',
    editUser: '编辑用户',
    deleteConfirm: '确定要禁用该用户吗？',
    disableSuccess: '禁用成功',
    saveSuccess: '保存成功',
    formRules: {
      usernameRequired: '请输入用户名',
      realNameRequired: '请输入真实姓名',
      emailFormat: '请输入正确的邮箱格式',
      passwordRequired: '请输入密码'
    }
  },
  apiConfig: {
    code: '代码',
    apiUrl: 'API地址',
    apiUser: 'API用户',
    apiPwd: 'API密码',
    apiKey: 'API密钥',
    token: '令牌',
    remarks: '备注',
    createTime: '创建时间',
    updateTime: '更新时间',
    newApiConfig: '新增API配置',
    editApiConfig: '编辑API配置',
    deleteConfirm: '确定要删除该API配置吗？',
    deleteSuccess: '删除成功',
    saveSuccess: '保存成功',
    formRules: {
      codeRequired: '请输入代码',
      apiUrlRequired: '请输入API地址'
    }
  },
  sysConfig: {
    code: '配置代码',
    value: '配置值',
    remarks: '备注',
    createTime: '创建时间',
    updateTime: '更新时间',
    newSysConfig: '新增系统配置',
    editSysConfig: '编辑系统配置',
    deleteConfirm: '确定要删除该系统配置吗？',
    deleteSuccess: '删除成功',
    saveSuccess: '保存成功',
    formRules: {
      codeRequired: '请输入配置代码',
      valueRequired: '请输入配置值'
    }
  },
  errorPage: {
    notFound: '很抱歉，您访问的页面不存在',
    goHome: '返回首页',
    goBack: '返回上一页'
  },
  navbar: {
    logout: '退出登录',
    profile: '个人资料',
    logoutSuccess: '退出登录成功',
    language: {
      zh: '简体中文',
      en: 'English',
      changeSuccess: {
        zh: '语言已切换为简体中文',
        en: 'Language changed to English'
      }
    }
  },
  tags: {
    refresh: '刷新',
    close: '关闭',
    closeOthers: '关闭其他',
    closeAll: '关闭所有'
  }
}